package cate.common.table.activity.zonelimit.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("商品")
public class ZoneLimitItemRow extends ERow {

    @NoteField("档位")
    public int priceNo;

    @NoteField("奖励")
    public String rwdStr;

    @NoteField("碎钻价格")
    public String m1Str;

    @NoteField("个人限购")
    public int limit;

    @NoteField("全服限购")
    public int zoneLimit;

//    @NoteField("天数")
//    public int day;

    @NoteField("商品分组")
    public int itemGroup;


    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", 0);
        this.priceNo = xrw.getInteger("档位", 0);
        this.rwdStr = xrw.getString("奖励");
        this.m1Str = xrw.getString("碎钻价格");
        this.limit = xrw.getInteger("个人限购",1);
        this.zoneLimit = xrw.getInteger("全服限购",0);
//        this.day = xrw.getInteger("天数",0);
        this.itemGroup = xrw.getInteger("商品分组",0);
    }




}
